diff options
| author | Michael Williamson <mike@zwobble.org> | 2023-06-25 13:24:26 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2023-06-25 13:24:26 +0100 |
| commit | cd63fb7d39491f917cf65c77d33f465de2e2dbda (patch) | |
| tree | c13e6be36f0a232b4c96541d97c604b266881f2b /snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.WasmBinaryFormatModuleTests]/[method:canSerializeModuleWithGlobals(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected | |
| parent | e139747e1593885bc90f2ae5427a6215475b76fd (diff) | |
Write globals to symbol table
Diffstat (limited to 'snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.WasmBinaryFormatModuleTests]/[method:canSerializeModuleWithGlobals(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected')
1 files changed, 5 insertions, 3 deletions
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.WasmBinaryFormatModuleTests]/[method:canSerializeModuleWithGlobals(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.WasmBinaryFormatModuleTests]/[method:canSerializeModuleWithGlobals(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected index db3a53e3..4ff3e2f4 100644 --- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.WasmBinaryFormatModuleTests]/[method:canSerializeModuleWithGlobals(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected +++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.WasmBinaryFormatModuleTests]/[method:canSerializeModuleWithGlobals(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected @@ -4,12 +4,14 @@ module.wasm: file format wasm 0x1 Section Details: Global[2]: - - global[0] i32 mutable=1 - init i32=7 - - global[1] i64 mutable=0 - init i64=9 + - global[0] i32 mutable=1 <Global1> - init i32=7 + - global[1] i64 mutable=0 <Global2> - init i64=9 Custom: - name: "name" Custom: - name: "linking" - - symbol table [count=0] + - symbol table [count=2] + - 0: G <Global1> global=0 [ binding=global vis=default ] + - 1: G <Global2> global=1 [ binding=global vis=default ] Code Disassembly: |
